package com.tedu.ivos.dictoption.service.impl;

import com.tedu.ivos.dictoption.mapper.DictOptionMapper;
import com.tedu.ivos.dictoption.pojo.dto.DictOptionQuery;
import com.tedu.ivos.dictoption.pojo.vo.DictOptionVO;
import com.tedu.ivos.dictoption.service.DictOptionService;
import lombok.extern.slf4j.Slf4j;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Slf4j
@Service
public class DictOptionServiceImpl implements DictOptionService {

    @Autowired
    DictOptionMapper dictOptionMapper;
    @Override
    public List<DictOptionVO> selectDictOption(DictOptionQuery dictOptionQuery) {
        log.info("查询字典选项数据，参数：{}",dictOptionQuery);
        List<DictOptionVO> list=dictOptionMapper.selectDictOption(dictOptionQuery);
        log.info("查询字典选项数据，结果：{}",list);
        return list;
    }
}
